package com.feini.ktv.svc.controller.sm;

import com.feini.ktv.svc.controller.vo.LoginVO;
import com.podara.skeleton.controller.SkeletonController;
import com.podara.skeleton.log.annotation.LogLogger;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zym
 * @date 2021/4/21 23:28
 */
@LogLogger
@RestController
@Api(value = "登陆接口")
public class LoginController implements SkeletonController {

    @PostMapping("/login")
    @ApiOperation(value = "登陆")
    public String login(LoginVO loginVO) {
        // 当前登陆security自动实现，此处空即可
        return "login";
    }
}
